/**
 * 商品相关api
 */
import {
	http
} from './service.js'


export const getBase = (params) => {
	return http.get('/JsonApi/base',
		params
	)
}

export const getMsg = (params) => {
	return http.post('/JsonApi/getNewmsg',
		params
	)
}

export const dowxLogin = (params) => {
	return http.post('/JsonApi/wxLogin',
		params
	)
}
export const getReadMsg = (params) => {
	return http.post('/JsonApi/readMsg',
		params
	)
}
export const getJigou = (params) => {
	return http.post('/JsonApi/getJigou',
		params
	)
}

export const getLb = (params) => {
	return http.post('/JsonApi/getLb',
		params
	)
}

export const getly = (params) => {
	return http.get('/JsonApi/getly')
}

export const doPostHttp = (params) => {
	return http.post('/JsonApi/doPost',
		params
	)
}

export const doSendCode = (params) => {
	return http.post('/MinApi/send',
		params
	)
}
export const doPhoneLogin = (params) => {
	return http.post('/JsonApi/doPhoneLogin',
		params
	)
}

export const getUserSms = (params) => {
	return http.post('/JsonApi/getUserMsg',
		params
	)
}

export const getunReadMsg = (params) => {
	return http.post('/JsonApi/getunReadMsg',
		params
	)
}
export const doUserLogin = (params) => {
	return http.post('/JsonApi/doUserLogin',
		params
	)
}

export const getUserProfile = (params) => {
	return http.post('/JsonApi/getUserProfile',
		params
	)
}
export const doProfile = (params) => {
	return http.post('/JsonApi/doProfile',
		params
	)
}
export const doLike = (params) => {
	return http.post('/JsonApi/likeReply',
		params
	)
}

export const doWechatpush = (params) => {
	return http.post('/JsonApi/doWechatpush',
		params
	)
}

export const getContentReply = (params) => {
	return http.post('/JsonApi/getContentReply',
		params
	)
}


export const doSearch = (params) => {
	return http.post('/JsonApi/doSearch',
		params
	)
}
export const doReply = (params) => {
	return http.post('/JsonApi/doReply',
		params
	)
}
export const doRate = (params) => {
	return http.post('/JsonApi/doRate',
		params
	)
}
